package com.cmii.sjw.department.control.jsc.controller;

import com.cmii.sjw.department.control.jsc.service.AizhxyService;
import com.cmii.sjw.department.control.jsc.vo.CanteenInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * ai智慧校园
 * @author lz
 * @date 2025-11-12 周四 10:51
 * @version 1.0
 */
@Slf4j
@RestController
@CrossOrigin
@RequestMapping("/aiZhxy")
public class AizhxyController {


    @Autowired
    private AizhxyService aizhxyService;

    /**
     * 区县-校园餐智管
     * @return
     */

    @PostMapping("/info")
    public CanteenInfoVO getCanteenInfo() {
        return aizhxyService.getCanteenInfo();
    }
}
